import com.dmotiko.general.*
import com.dmotiko.chabeli.*
import com.dmotiko.util.*

class ChabeliPhotoLoader
extends LoaderClip {
	
	private var clip:MovieClip;
	
	private function ChabeliPhotoLoader() {
		super();
		txtPercent.text = "";
		txtPercent._y = -6;
	}
	
	public function setPos(nPos):Void {
		super.setPos(nPos);
		var root:ChabeliPhotoLoader = this;
		if(!clip) clip = DummyFactory.getNextDummy(this);
		clip.onEnterFrame = function() {
			root.txtPercent._x = root.mcMask.mcBar._x + root.mcMask.mcBar._width + 5;
		}
	}
	
}